{% extends 'layout/body.html' %}
{% block title %}
    班级管理
{% endblock %}
{% block content %}
    <div class="row mt-2">
        <div class="col-6 offset-3">
            <form method="POST" action="{{ url_for('clazz.save') }}">
                <div class="form-group form-row">
                    <div class="col-4 text-right col-form-label">
                        名称：
                    </div>
                    <div class="col-8">
                        <input required style="width: 12em" type="text" name="name" class="form-control"/>
                    </div>
                </div>
                <div class="form-group form-row">
                    <div class="col-4 text-right col-form-label">
                        班级人数：
                    </div>
                    <div class="col-8">
                        <input required style="width: 12em" type="number" name="students_count" class="form-control"/>
                    </div>
                </div>
                <div class="form-group form-row">
                    <div class="col-8 offset-4">
                        <button class="btn btn-primary"><i class="bi bi-check-square"></i>保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
{% endblock %}
